/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package prueba.view.html;

import java.util.List;
import java.util.Map;
import prueba.view.resolver.code.ContextCodeResolveView;

/**
 *
 * @author HP_Propietario
 */
public class HTMLPage {

    private HTMLBody body;
    private HTMLHead head;
    private ContextCodeResolveView codeResolveView;
    public Object command;
    public List<Map> models;

    public HTMLPage() {


    }

    /***
     *
     *
     *
     *
     *
     *
     */
    public HTMLBody getHTMLBody() {
        if (body == null) {
            body = new HTMLBody();
            return body;
        } else {
            return body;
        }
    }

    /***
     *
     *
     *
     *
     *
     *
     */
    public HTMLHead getHTMLHead() {
        if (head == null) {
            return new HTMLHead();
        }
        return head;

    }

    /***
     *
     *
     *
     *
     *
     *
     */
    public void print() {
        body.process();
    }
}
